package cn.vivi.seckill.pojo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("t_user")
public class User implements Serializable {

    @TableId("id")
    private String phone;

    private String password;

    private String nickname;
    private String salt;
    private String head;
    @TableField("register_date")
    private Date registerDate;
    @TableField("last_login_date")
    private Date lastLoginDate;
    @TableField("login_count")
    private Integer loginCount;
}
